home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / 2_cool_f.swf / scripts / DefineButton2_336 / BUTTONCONDACTION on(release).as
Text File  |  2008-11-12  |  395b  |  23 lines

  1. on(release){
  2.    if(nailpolish._currentframe < nailpolish._totalframes)
  3.    {
  4.       nailpolish.nextFrame();
  5.       i = 1;
  6.       while(i <= 5)
  7.       {
  8.          _root["nail" + i].nextFrame();
  9.          i++;
  10.       }
  11.    }
  12.    else
  13.    {
  14.       nailpolish.gotoAndStop(1);
  15.       i = 1;
  16.       while(i <= 5)
  17.       {
  18.          _root["nail" + i].gotoAndStop(1);
  19.          i++;
  20.       }
  21.    }
  22. }
  23.